package com.grass.p019lv.game;

import android.content.Intent;
import android.text.SpannableString;
import android.text.style.ForegroundColorSpan;
import androidx.core.view.ViewCompat;
import com.androidsa.bttsddka.R;
import com.androidx.p013lv.base.p015ui.BaseActivity;
import com.grass.p019lv.databinding.ActivitySoluationBinding;
import com.gyf.immersionbar.ImmersionBar;

/* renamed from: com.grass.lv.game.SoluationActivity */
public class SoluationActivity extends BaseActivity<ActivitySoluationBinding> {
    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public int setLayout() {
        return R.layout.activity_soluation;
    }

    /* access modifiers changed from: protected */
    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public void initImmersionBar() {
        super.initImmersionBar();
        ImmersionBar.with(this).titleBar(((ActivitySoluationBinding) this.binding).toolBar).init();
    }

    /* access modifiers changed from: protected */
    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public void initView() {
        super.initView();
        ((ActivitySoluationBinding) this.binding).setClick(new OnClick());
        initPrompt();
    }

    private void initPrompt() {
        SpannableString spannableString = new SpannableString("每个机型的具体操作可能不同，解决思路是关闭系统的（支付保护）即可。下面以OPPO手机为例，其他机型可参考。");
        spannableString.setSpan(new ForegroundColorSpan((int) ViewCompat.MEASURED_STATE_MASK), 19, 30, 33);
        ((ActivitySoluationBinding) this.binding).tvHint.setText(spannableString);
    }

    /* access modifiers changed from: protected */
    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public void initData() {
        super.initData();
    }

    /* access modifiers changed from: protected */
    @Override // androidx.fragment.app.FragmentActivity
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
    }

    /* renamed from: com.grass.lv.game.SoluationActivity$OnClick */
    public class OnClick {
        public OnClick() {
        }

        public void btnBack() {
            SoluationActivity.this.finish();
        }
    }
}
